package com.yz.lzq.liwushuo.ui.modules.home;

import com.yz.lzq.liwushuo.http.OnGetNetDataListener;
import com.yz.lzq.liwushuo.jsonbean.HomeFragmentTabLayoutBean;

/**
 * Created by Administrator on 2016/12/19.
 */

public class HomeContract {

    /**
     * Created by Administrator on 2016/12/2.
     */

    public static interface HomeModelInterface {
        //    void LoadHomeFragmentTabLayoutTittle(int gender,int genration,OnGetNetDataListener<List<HomeFragmentTabLayoutBean.DataBean.CandidatesBean>> listener);
        void LoadHomeFragmentTabLayoutTittle(int gender, int genration, OnGetNetDataListener<HomeFragmentTabLayoutBean> listener);
    }

    /**
     * Created by Administrator on 2016/12/10.
     * homefragment的view层的接口
     * 1、展示获取后的tablayout 的标题
     * 2、RecycleView的展示
     * 3、GradleView的展示
     */

    public interface HomeFrgmentViewInterface {
        /**
         * 展示获取后的tablayout 的标题
         *
         * @param bean
         */
//    void ShowTabLayoutTittle(List<HomeFragmentTabLayoutBean.DataBean.CandidatesBean> list);
        void ShowTabLayoutTittle(HomeFragmentTabLayoutBean bean);
    }

}
